package Eyjafjalla.power;

import Eyjafjalla.card.status.Burn_Eyjafjalla;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.megacrit.cardcrawl.actions.GameActionManager;
import com.megacrit.cardcrawl.actions.common.MakeTempCardInHandAction;
import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.core.AbstractCreature;
import com.megacrit.cardcrawl.core.CardCrawlGame;
import com.megacrit.cardcrawl.helpers.ImageMaster;
import com.megacrit.cardcrawl.localization.PowerStrings;

public class VolcanicHealingPower extends AbstractEyjafjallaPower {
    public static final String POWER_ID = "eyjafjalla:VolcanicHealingPower";
    private static final PowerStrings powerStrings;

    public VolcanicHealingPower(AbstractCreature owner){
        this.name = powerStrings.NAME;
        this.ID = POWER_ID;
        this.owner = owner;
        String path128 = "EyjafjallaResources/img/power/VolcanicHealingPower_84.png";
        String path48 = "EyjafjallaResources/img/power/VolcanicHealingPower_32.png";
        this.region128 = new TextureAtlas.AtlasRegion(ImageMaster.loadImage(path128),0,0,84,84);
        this.region48 = new TextureAtlas.AtlasRegion(ImageMaster.loadImage(path48),0,0,32,32);
        this.isTurnBased = true;
        this.type = PowerType.BUFF;
        this.updateDescription();
    }

    @Override
    public void onSpecificTrigger() {
        this.flashWithoutSound();
    }

    @Override
    public void updateDescription() {
        this.description = powerStrings.DESCRIPTIONS[0];
    }

    static {
        powerStrings = CardCrawlGame.languagePack.getPowerStrings(POWER_ID);
    }
}





